package _94ZeRenLian.sub;

import _94ZeRenLian.AbstractLogger;

/**
 * @ErrorLogger: 抽象记录器子类 错误日志记录器
 * @author: ZBoHang
 * @time: 2021/9/15 16:48
 */
public class ErrorLogger extends AbstractLogger {
    public ErrorLogger(int level) {
        this.level = level;
    }

    @Override
    protected void write(String message) {
        System.out.println("错误日志记录器 level-->" + getLevelName(level) + " message-->" + message);
    }
}
